package web.fabrimind.bdm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import web.fabrimind.common.annotation.Excel;
import web.fabrimind.common.core.domain.BaseEntity;

/**
 * 生产线管理对象 production_line
 * 
 * @author 智慧
 * @date 2025-03-28
 */
public class ProductionLine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 生产线ID */
    private Long lineId;

    /** 生产线名称 */
    @Excel(name = "生产线名称")
    private String lineName;

    /** 生产线编号 */
    @Excel(name = "生产线编号")
    private String lineCode;

    /** 所属车间ID */
    @Excel(name = "所属车间ID")
    private Long workshopId;

    /** 生产线状态 */
    @Excel(name = "生产线状态")
    private String lineStatus;

    /** 生产线类型 */
    @Excel(name = "生产线类型")
    private String lineType;

    /** 设计产能 */
    @Excel(name = "设计产能")
    private Long capacity;

    /** 所属车间 */
    @Excel(name = "所属车间")
    private String workshopName;

    public String getWorkshopName() {
        return workshopName;
    }

    public void setWorkshopName(String workshopName) {
        this.workshopName = workshopName;
    }

    public void setLineId(Long lineId)
    {
        this.lineId = lineId;
    }

    public Long getLineId() 
    {
        return lineId;
    }
    public void setLineName(String lineName) 
    {
        this.lineName = lineName;
    }

    public String getLineName() 
    {
        return lineName;
    }
    public void setLineCode(String lineCode) 
    {
        this.lineCode = lineCode;
    }

    public String getLineCode() 
    {
        return lineCode;
    }
    public void setWorkshopId(Long workshopId) 
    {
        this.workshopId = workshopId;
    }

    public Long getWorkshopId() 
    {
        return workshopId;
    }
    public void setLineStatus(String lineStatus) 
    {
        this.lineStatus = lineStatus;
    }

    public String getLineStatus() 
    {
        return lineStatus;
    }
    public void setLineType(String lineType) 
    {
        this.lineType = lineType;
    }

    public String getLineType() 
    {
        return lineType;
    }
    public void setCapacity(Long capacity) 
    {
        this.capacity = capacity;
    }

    public Long getCapacity() 
    {
        return capacity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lineId", getLineId())
            .append("lineName", getLineName())
            .append("lineCode", getLineCode())
            .append("workshopId", getWorkshopId())
            .append("lineStatus", getLineStatus())
            .append("lineType", getLineType())
            .append("capacity", getCapacity())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
